* autorevert.el: Add file watch support.
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Jan 2013 14:27:48 +0000 (15:27 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Jan 2013 14:27:48 +0000 (15:27 +0100)
commit5d5dcadef9888ed98c496a8f5dabbdddaffda688
tree596bfb14a911224e7743ac292da5df03b96457e9
parentf04c892336153f1a82cbccf0d0d49d41d958b85e
* autorevert.el: Add file watch support.
(auto-revert-notify-enabled): New defconst.
(auto-revert-notify-watch-descriptor-hash-list)
(auto-revert-notify-watch-descriptor)
(auto-revert-notify-modified-p): New defvars.
(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
(auto-revert-notify-handler): New defuns.
(auto-revert-mode, global-auto-revert-mode): Remove file watches
when mode is disabled.
(auto-revert-handler): Check for `auto-revert-notify-modified-p'.
(auto-revert-buffers): Add file watches for active buffers.
lisp/ChangeLog
lisp/autorevert.el